package example.org.word.wordUtils;

import org.apache.poi.ooxml.POIXMLFactory;
import org.apache.poi.ooxml.POIXMLRelation;
import org.apache.poi.xddf.usermodel.chart.XDDFChart;
import org.openxmlformats.schemas.drawingml.x2006.chart.CTBarChart;
import org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer;
import org.openxmlformats.schemas.drawingml.x2006.chart.CTChart;
import org.openxmlformats.schemas.drawingml.x2006.chart.STShape;

public class BarChart extends XDDFChart {

    protected BarChart(){
        super();
    }

    @Override
    protected POIXMLRelation getChartRelation() {
        return null;
    }

    @Override
    protected POIXMLRelation getChartWorkbookRelation() {
        return null;
    }

    @Override
    protected POIXMLFactory getChartFactory() {
        return null;
    }

    public void test(){
        CTChart chart = getCTChart();
        CTBarChart ctBarChart = chart.addNewPlotArea().addNewBarChart();
        ctBarChart.addNewVaryColors().setVal(true);
        CTBarSer ctBarSer = ctBarChart.addNewSer();
    }


}
